<template>
  <div>
    <van-tabs :swipe-threshold="1" v-model="active" swipeable>
      <van-tab title="金牌课程">
        <Pack></Pack>
      </van-tab>
      <van-tab title="免费直播">
        <FreeLive></FreeLive>
      </van-tab>
      <van-tab title="名师专项课">
        <Open></Open>
      </van-tab>
      <van-tab title="资讯">
        <Discover></Discover>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script>
import Pack from './pack.vue'
import FreeLive from './free-live.vue'
import Open from './open.vue'
import Discover from './discover.vue'

export default {
  components: { Pack, Discover, FreeLive, Open },
  data() {
    return {
      active: 0
    }
  },

  computed: {},

  mounted() { },

  methods: {
  }
}
</script>

<style lang="scss" scoped>
::v-deep .van-tabs {
  .van-tabs__wrap {
    border-bottom: 0.02667rem solid #ebedf0;
  }
  .van-tab--active {
    font-size: 17px;
  }
}
</style>
